<?php

class Model_InventoryItemAttribute extends ORM {
	
	protected $_table_name = 'inventory_item_attributes';
	
	protected $_belongs_to = array(
		'attribute' => array(
			'model' => 'attribute',
			'foreign_key' => 'attribute_id',
		),
		'value' => array(
			'model' => 'value',
			'foreign_key' => 'value_id',
		),
		'inventory_item' => array(
			'model' => 'inventoryItem',
			'foreign_key' => 'inventory_item_id',
		),
	);
	
	/**
	protected $_belongs_to = array(
		'inventory_item' => array(
			'model' => 'inventoryItem',
			'foreign_key' => 'inventory_item_id',
			),
		);
		
	*/
}